
import sys
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
def window():
    app=QApplication(sys.argv)
    w=QWidget()
    b=QLabel(w)
    b.setText("PYQT5")
    w.setGeometry(200,200,600,500)
    b.move(50,20)
    w.setWindowTitle("PyQt5")
    w.show()
    sys.exit(app.exec_())
if __name__ == '__main__':
   window()